Creates a #GTlsCertificate from the data in @file.
If @file cannot be read or parsed, the function will return %NULL and
set @error.
Any unknown file types will error with %G_IO_ERROR_NOT_SUPPORTED.
Currently only .p12 and .pfx files are supported.
See g_tls_certificate_new_from_pkcs12() for more details.
Creates a #GTlsCertificate from the data in @file.
If @file cannot be read or parsed, the function will return %NULL and set @error.
Any unknown file types will error with %G_IO_ERROR_NOT_SUPPORTED. Currently only .p12 and .pfx files are supported. See g_tls_certificate_new_from_pkcs12() for more details.